ActiveReports 12
DataBindXY(IEnumerable,IEnumerable[]) Method

GrapeCity.ActiveReports.Chart.v12 Assembly > GrapeCity.ActiveReports.Chart Namespace > DataPointsCollection Class > DataBindXY Method : DataBindXY(IEnumerable,IEnumerable[]) Method
Specifies the data source that will supply the X values for the DataPoints. The first available column will be used.
Specifies the Y value(s) of the DataPoint object added to the collection (one or more comma-separated values).
Binds the X value and Y values of the collection's DataPoints to the first column(s) of the specified data source(s).
Syntax
'Declaration
 
Public Overloads Sub DataBindXY( _
   ByVal xValueEnumerable As IEnumerable, _
   ByVal ParamArray yEnumerableValues() As IEnumerable _
) 
public void DataBindXY( 
   IEnumerable xValueEnumerable,
   params IEnumerable[] yEnumerableValues
)

Parameters

xValueEnumerable
Specifies the data source that will supply the X values for the DataPoints. The first available column will be used.
yEnumerableValues
Specifies the Y value(s) of the DataPoint object added to the collection (one or more comma-separated values).
See Also

Reference

DataPointsCollection Class
DataPointsCollection Members
Overload List